package com.btb.adapter.mapper;

import com.btb.adapter.model.OffChain;
import com.btb.adapter.model.OffChainExample;
import com.btb.adapter.model.TransferRecord;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface OffChainMapper {
	long countByExample(OffChainExample example);

	int deleteByExample(OffChainExample example);

	int deleteByPrimaryKey(Long id);

	int insert(OffChain record);

	int insertSelective(OffChain record);

	List<OffChain> selectByExample(OffChainExample example);

	OffChain selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") OffChain record, @Param("example") OffChainExample example);

	int updateByExample(@Param("record") OffChain record, @Param("example") OffChainExample example);

	int updateByPrimaryKeySelective(OffChain record);

	int updateByPrimaryKey(OffChain record);

	List<OffChain> queryNotify(Integer retryTimes);

}